package com.bolang.onlycode.demo.designPatterns.decorator;

import java.util.HashMap;

public class Test {
  public final static   HashMap<Object, Object> objectObjectHashMap = new HashMap<>();
  public final int[] arr={1,23};
    public static void main(String[] args) {
        AbstractPancakes pancakes = new MustPancakes();
       pancakes = new EggDecorator(pancakes);
       pancakes = new EggDecorator(pancakes);
       pancakes = new Sausage(pancakes);
        System.out.println(pancakes.getMsg()+"，总价："+pancakes.getPrice());
        objectObjectHashMap.put(1,2);
        System.out.println(objectObjectHashMap.get(1));
        Test test = new Test();
        test.arr[0]=3;



    }
}
